package oa.entity;

import java.util.Date;

public class User {
	private int userId;//员工id
	private String userName;//员工姓名
	private String loginName;//登录名
	private String loginPwd;//登录密码
	private int userSex;//性别
	private String userPhone;//电话号码
	private String userEmail;//电子邮件
	private String userAddress;//地址
	private String userIdentitycard;//身份证号
	private String userFamilyphone;//家庭号码
	private String userDiploma;//学历
	private int deptId;//部门id
	private String userPosition;//职位
	private Date userEntrytime;//出生年月
	private int userWorkingstate;//在职状态
	private int companyId;//员工所属公司id
	private int userCompetence;//权限
	public User() {
		
	}
	
	public User(int userId, String userName, String loginName, String loginPwd, int userSex, String userPhone,
			String userEmail, String userAddress, String userIdentitycard, String userFamilyphone, String userDiploma,
			int deptId, String userPosition, Date userEntrytime, int companyId) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.loginName = loginName;
		this.loginPwd = loginPwd;
		this.userSex = userSex;
		this.userPhone = userPhone;
		this.userEmail = userEmail;
		this.userAddress = userAddress;
		this.userIdentitycard = userIdentitycard;
		this.userFamilyphone = userFamilyphone;
		this.userDiploma = userDiploma;
		this.deptId = deptId;
		this.userPosition = userPosition;
		this.userEntrytime = userEntrytime;
		this.companyId = companyId;
	}

	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	public String getLoginPwd() {
		return loginPwd;
	}
	public void setLoginPwd(String loginPwd) {
		this.loginPwd = loginPwd;
	}
	public int getUserSex() {
		return userSex;
	}
	public void setUserSex(int userSex) {
		this.userSex = userSex;
	}
	public String getUserPhone() {
		return userPhone;
	}
	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}
	public String getUserEmail() {
		return userEmail;
	}
	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}
	public String getUserAddress() {
		return userAddress;
	}
	public void setUserAddress(String userAddress) {
		this.userAddress = userAddress;
	}
	public String getUserIdentitycard() {
		return userIdentitycard;
	}
	public void setUserIdentitycard(String userIdentitycard) {
		this.userIdentitycard = userIdentitycard;
	}
	public String getUserFamilyphone() {
		return userFamilyphone;
	}
	public void setUserFamilyphone(String userFamilyphone) {
		this.userFamilyphone = userFamilyphone;
	}
	public String getUserDiploma() {
		return userDiploma;
	}
	public void setUserDiploma(String userDiploma) {
		this.userDiploma = userDiploma;
	}
	public int getDeptId() {
		return deptId;
	}
	public void setDeptId(int deptId) {
		this.deptId = deptId;
	}
	public String getUserPosition() {
		return userPosition;
	}
	public void setUserPosition(String userPosition) {
		this.userPosition = userPosition;
	}
	
	public Date getUserEntrytime() {
		return userEntrytime;
	}
	public void setUserEntrytime(Date userEntrytime) {
		this.userEntrytime = userEntrytime;
	}
	public int getUserWorkingstate() {
		return userWorkingstate;
	}
	public void setUserWorkingstate(int userWorkingstate) {
		this.userWorkingstate = userWorkingstate;
	}
	public int getCompanyId() {
		return companyId;
	}
	public void setCompanyId(int companyId) {
		this.companyId = companyId;
	}
	public int getUserCompetence() {
		return userCompetence;
	}
	public void setUserCompetence(int userCompetence) {
		this.userCompetence = userCompetence;
	}
	
}
